#error handler
error=URL(r=request,f='error')

def index():
    """
    Start page of games module
    """
    try:
        arguments=request.args(0)
    except:
        arguments = None
    
    title="Formatics games"
    messages=[]
    messages.append("Kies een spel")
    return dict(title=title, messages=messages)

def arkanoid():
    """
    Serve arkanoid for google chrome
    """    
    title="Let's play arkanoid"
    return dict(title=title)
